home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / id007.dxr / 00062.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  2.3 KB  |  60 lines

  1. on exitFrame
  2.   set the locH of sprite 5 to the locH of sprite 5 + random(2)
  3.   set the locH of sprite 5 to the locH of sprite 5 - random(2)
  4.   set the locH of sprite 6 to the locH of sprite 6 + random(2)
  5.   set the locH of sprite 6 to the locH of sprite 6 - random(2)
  6.   set the locH of sprite 7 to the locH of sprite 7 + random(2)
  7.   set the locH of sprite 7 to the locH of sprite 7 - random(2)
  8.   set the locH of sprite 8 to the locH of sprite 8 + random(4)
  9.   set the locH of sprite 8 to the locH of sprite 8 - random(4)
  10.   set the locV of sprite 8 to the locV of sprite 8 + random(4)
  11.   set the locV of sprite 8 to the locV of sprite 8 - random(4)
  12.   set the locH of sprite 4 to the locH of sprite 4 + random(4)
  13.   set the locH of sprite 4 to the locH of sprite 4 - random(4)
  14.   set the locV of sprite 4 to the locV of sprite 4 + random(4)
  15.   set the locV of sprite 4 to the locV of sprite 4 - random(4)
  16.   set the locH of sprite 9 to the locH of sprite 9 + random(3)
  17.   set the locH of sprite 9 to the locH of sprite 9 - random(3)
  18.   set the locV of sprite 9 to the locV of sprite 9 + random(3)
  19.   set the locV of sprite 9 to the locV of sprite 9 - random(3)
  20.   if sprite 4 intersects sprite(11) then
  21.     set the locV of sprite 4 to the locV of sprite 4 + 5
  22.   end if
  23.   if sprite 4 intersects sprite(12) then
  24.     set the locH of sprite 4 to the locH of sprite 4 - 5
  25.   end if
  26.   if sprite 4 intersects sprite(13) then
  27.     set the locV of sprite 4 to the locV of sprite 4 - 5
  28.   end if
  29.   if sprite 4 intersects sprite(14) then
  30.     set the locH of sprite 4 to the locH of sprite 4 + 5
  31.   end if
  32.   if sprite 8 intersects sprite(15) then
  33.     set the locH of sprite 8 to the locH of sprite 8 - 5
  34.   end if
  35.   if sprite 8 intersects sprite(16) then
  36.     set the locV of sprite 8 to the locV of sprite 8 + 5
  37.   end if
  38.   if sprite 9 intersects sprite(13) then
  39.     set the locV of sprite 9 to the locV of sprite 9 - 5
  40.   end if
  41.   if sprite 8 intersects sprite(13) then
  42.     set the locV of sprite 8 to the locV of sprite 8 - 5
  43.   end if
  44.   if sprite 9 intersects sprite(16) then
  45.     set the locV of sprite 9 to the locV of sprite 9 + 5
  46.   end if
  47.   if the timer < 3000 then
  48.     go(the frame)
  49.   else
  50.     go(81)
  51.   end if
  52. end
  53.  
  54. on mouseUp
  55.   set the visible of sprite 5 to 0
  56.   set the visible of sprite 6 to 0
  57.   set the visible of sprite 7 to 0
  58.   go(81)
  59. end
  60.